package com.hhit.wy.entity;

import java.util.Date;

public class Order {
     private String oid; //订单号
     private Date createTime; //生成时间
     private Double allPrice; //总价
     private String type;  //订单类型
     private String state; //订单状态
     private Integer cid;  //购物车编号
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Double getAllPrice() {
		return allPrice;
	}
	public void setAllPrice(Double allPrice) {
		this.allPrice = allPrice;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	@Override
	public String toString() {
		return "Order [oid=" + oid + ", createTime=" + createTime
				+ ", allPrice=" + allPrice + ", type=" + type + ", state="
				+ state + ", cid=" + cid + "]";
	}
     
     
}
